package com.question.java.array;

import java.util.ArrayList;
import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Author: Jun.Yang
 * Create: Jun.Yang (2015/10/19)
 * Description: 从数组中创建ArrayList
 * To change this template use File | Settings | File Templates.
 */
public class ArrayToArrayList {
    public static void main(String[] args) {
        String[] array =  {"a", "b", "c", "d", "e"};
        System.out.println(new ArrayList<String>(Arrays.asList(array)));
    }
}
